/*
*
* @copyright    Copyright (C) Copyright (c) 2009 Manuele Castellan. All rights reserved.
* @license        GNU/GPLv3, see LICENSE
*
*  This program is free software: you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation, either version 3 of the License, or
*  (at your option) any later version.
*
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program.  If not, see <http://www.gnu.org/licenses/>.
*
*/

form label{
	font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
	font-size:13px;
}

/** FORM - BUTTON  begin **/
a.NWFormButton, button.NWFormButton, input.NWFormButton {
	margin: 0;
	padding: 0;
}
a.NWFormButton, button.NWFormButton, input.NWFormButton {
    /*margin:0 7px 0 0;*/
    background: url(button-form.png) repeat-x scroll 50% 50% #555555;
	border:1px solid #777777;
	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:13px;
    line-height:18px;
    text-decoration:none;
    cursor:pointer;
    padding: 6px 6px 6px 6px; /* Links */
	
	color:#ffffff;
}
button.NWFormButton, input.NWFormButton {
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
input.NWFormButton {
    padding:3px 10px 2px 7px; /* IE6 */
}
button[type].NWFormButton, input[type].NWFormButton {
    padding:6px 10px 6px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*: button[type], *: input[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
input.NWFormButton img, button.NWFormButton img, a.NWFormButton img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

a.NWFormButton span.NWFormButtonImg{
	background-repeat: no-repeat;
	padding-left: 22px;
}

input.NWFormButton.NWFormButtonOver, button.NWFormButton.NWFormButtonOver, a.NWFormButton.NWFormButtonOver {
	border:1px solid #777777;
	color:#FFFFFF;
	
	background: url(button-form-over.png) repeat-x scroll 50% 50% #E6E6E6;
}
input.NWFormButton.NWFormButtonDown, button.NWFormButton.NWFormButtonDown, a.NWFormButton.NWFormButtonDown {
	border:1px solid #D3D3D3;
	color:#555555;
	
	background: url(button-form-down.png) repeat-x scroll 50% 50% #E6E6E6;
}
input.NWFormButton.NWFormButtonDisabled, button.NWFormButton.NWFormButtonDisabled, a.NWFormButton.NWFormButtonDisabled {
	border:1px solid #CCCCCC;
	color:#CCCCCC;
	
	background: url(button-form-disable.png) repeat-x scroll 50% 50% #EEEEEE;
	cursor: default;
}








/** FORM - INPUT-TEXT  begin **/
.NWFormText {
	border:1px solid #DDDDDD;
	color:#333333;
	
	font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:13px;
	
	margin: 0;
	padding: 6px 6px 6px 6px;
	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.NWFormTextDisabled{
	background-color : #ebebeb;
}
/** FORM - INPUT-TEXT  end **/



/** FORM - TEXTAREA begin */
.NWFormTextarea {
	border:1px solid #DDDDDD;
	color:#333333;
	
	font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:13px;
	
	margin-bottom:12px;
	padding:0.5em;
	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.NWFormTextareaDisabled{
	background-color : #ebebeb;
	color: #CCCCCC;
}
/** FORM - TEXTAREA end */



/** FORM - CHECKBOX begin */
.NWFormCheckbox {
	font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size: 13px;
	text-align: center;
    line-height: 18px;
	cursor: pointer;
	
	margin: 0 0 5px 0;
	padding: 0;
	
	float: left;
}
.NWFormCheckboxField, .NWFormCheckboxFieldOver, .NWFormCheckboxFieldDown, .NWFormCheckboxFieldDisabled,
.NWFormCheckboxFieldPressed, .NWFormCheckboxFieldPressedOver, .NWFormCheckboxFieldPressedDown {
	width: 18px;
	height: 18px;
	
	display: block;
	float: left;
	
	border: none;
}
.NWFormCheckboxField {
	background: transparent url(formCheckbox.png) -10px -7px no-repeat;
}
.NWFormCheckboxFieldOver {
	background: transparent url(formCheckbox.png) -10px -42px no-repeat;
}
.NWFormCheckboxFieldDown {
	background: transparent url(formCheckbox.png) -10px -77px no-repeat;
}
.NWFormCheckboxFieldDisabled {
	background: transparent url(formCheckbox.png) -10px -112px no-repeat;
}
.NWFormCheckboxFieldPressed {
	background: transparent url(formCheckbox.png) -45px -7px no-repeat;
}
.NWFormCheckboxFieldPressedOver {
	background: transparent url(formCheckbox.png) -45px -42px no-repeat;
}
.NWFormCheckboxFieldPressedDown {
	background: transparent url(formCheckbox.png) -45px -77px no-repeat;
}
.NWFormCheckboxLabel, .NWFormCheckboxLabelDisabled {
	margin: 1px 0 0 0;
	padding: 0 0 0 2px;
	color: black;
}
.NWFormCheckbox input {
	left: -9999px;
	position: absolute;
}
.NWFormCheckboxLabelDisabled {
	color: #AFAFAF;
}
/** FORM - CHECKBOX end */


/** FORM - CHECKBOXLIST begin */
.NWFormCheckboxList, .NWFormCheckboxList li {
	list-style-type: none;
	clear: both;
	margin: 0;
	padding: 0;
}
/** FORM - CHECKBOXLIST end */

/** FORM - RADIOLIST begin */
.NWFormRadio {
	font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size: 13px;
	text-align: center;
    line-height: 18px;
	cursor: pointer;
	
	margin: 0 10px 5px 0;
	padding: 0;
	
	float: left;
}
.NWFormRadioField, .NWFormRadioFieldOver, .NWFormRadioFieldDown, .NWFormRadioFieldDisabled,
.NWFormRadioFieldPressed, .NWFormRadioFieldPressedOver, .NWFormRadioFieldPressedDown {
	width: 18px;
	height: 18px;
	
	display: block;
	float: left;
	
	border: none;
}
.NWFormRadioField {
	background: transparent url(formRadio.png) -11px -8px no-repeat;
}
.NWFormRadioFieldOver {
	background: transparent url(formRadio.png) -11px -43px no-repeat;
}
.NWFormRadioFieldDown {
	background: transparent url(formRadio.png) -11px -78px no-repeat;
}
.NWFormRadioFieldDisabled {
	background: transparent url(formRadio.png) -11px -113px no-repeat;
}
.NWFormRadioFieldPressed {
	background: transparent url(formRadio.png) -45px -8px no-repeat;
}
.NWFormRadioFieldPressedOver {
	background: transparent url(formRadio.png) -45px -43px no-repeat;
}
.NWFormRadioFieldPressedDown {
	background: transparent url(formRadio.png) -45px -78px no-repeat;
}
.NWFormRadioLabel, .NWFormRadioLabelDisabled {
	margin: 1px 0 0 0;
	padding: 0 0 0 2px;
	color: black;
}
.NWFormRadio input {
	left: -9999px;
	position: absolute;
}
.NWFormRadioLabelDisabled {
	color: #AFAFAF;
}
.NWFormRadioList, .NWFormRadioList ul, .NWFormRadioList ul li{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
/** FORM - RADIOLIST end */


/** FORM - FILE begin */
ul.NWFormFileContainer {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.NWFormFileContainer li{
	margin: 0;
	padding: 0;
	display: inline;
}

.NWFormFileContainer .NWFormFileText .NWFormText {
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	border-radius: 4px 0 0 4px;
}

.NWFormFileContainer .NWFormFileButton {}

.NWFormFileContainer .NWFormFileButton .NWFormButton,
.NWFormFileContainer .NWFormFileButton .NWFormButtonOver,
.NWFormFileContainer .NWFormFileButton .NWFormButtonDown,
.NWFormFileContainer .NWFormFileButton .NWFormButtonDisabled {
	-moz-border-radius-topleft: 0;
	-moz-border-radius-bottomleft: 0;
	border-radius: 0 4px 4px 0;
}

.NWFormFileField {
	margin: 0;
	padding: 0;
	
	opacity: .0;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	position: absolute;
	z-index: 10;
	height:36px;
	
	font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size: 18px;
    line-height: 18px;
}
.NWFormFileBoxField {
	border: 1px solid red;
	margin: 0;
	padding: 0;
	
	margin-top: -22px;
	position: absolute;
	width: 20px;
}
/** FORM - FILE end */

/** FORM - FIELDSET begin */
.NWFieldset{
	border: none;
}

.NWFieldsetContainer{
	clear: both;
}

.NWFieldset legend{
	font-family: Tahoma, Arial, Helvetica;
	font-size: 11px;
	color: #316AC5;
	text-align: left;
	background-color: white;
}

.NWFieldsetTopLeft{
	background: transparent url(formFieldset.png) no-repeat scroll top left;
	padding: 0px 0px 0px 1px;
	margin: 0;
	float: left;
}

.NWFieldsetTopRight{
	background: transparent url(formFieldset.png) no-repeat scroll top right;
	padding: 1px 0px 0px 0px;
	margin: 0;
	float: left;
}

.NWFieldsetBottomLeft{
	background: transparent url(formFieldset.png) no-repeat scroll bottom left;
	padding: 0px 0px 0px 0px;
	float: left;
}

.NWFieldsetBottomRight{
	background: transparent url(formFieldset.png) no-repeat scroll bottom right;
	padding: 0px 0px 0px 0px;
	float: left;
}

.NWFieldsetClose{
	clear: both;
}
/** FORM - FIELDSET end */






/** FORM - SELECT  begin **/

.NWFormSelect{
	position: relative;
	/*z-index: 5;*/
	float: left;
}

.NWFormSelectList{
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	border-top: 0;
	
	-moz-border-radius-bottomleft: 4px;
	-moz-border-radius-bottomright: 4px;
	border-radius: 0 0 4px 4px;
	
	margin-top: -4px /*!important*/;
	/*margin-top: -6px;*/
	
	margin-left: 0;
	background: white;
	
	position: absolute;
	z-index: 5;
	clear: both;
	
	padding: 0 3px 0 3px;
}

.NWFormSelectList ul{
	padding: 0;
	margin: 0;
}

.NWFormSelectList ul li{
	list-style-type: none;
	padding: 0;
	margin: 0;
	clear: both;
}



.NWFormSelect .NWFormSelectList{
	/*background: #F2EFEF;*/
}

.NWFormSelect .NWFormSelectList .NWFormSelectOption {
	line-height: normal;
	width: auto;
	padding: 3px 4px 3px 4px;
	margin: 0 0 3px 0;
	
	display: block;
	
	border-radius: 4px 4px 4px 4px;
	border: 1px solid #ffffff;
	
	color: #333333;
    font-family: "Lucida Grande",Tahoma,Arial,Verdana,sans-serif;
    font-size: 13px;
    cursor: default;
}

.NWFormSelect .NWFormSelectList .NWFormSelectOptionLabel {
	padding:1px 10px 0px 5px;
	margin: 1px 0 0px 0;
	position: relative;
	display: block;
	cursor: default;
}

.NWFormSelect .NWFormSelectList .NWFormButtonImg {
	padding-left: 22px;
	background-repeat: no-repeat;
}

.NWFormSelect .NWFormSelectList .NWFormSelectOption.NWFormSelectOptionDisabled{
	background: #ffffff;
	float: left;
	line-height: 11px;
	margin: 0px 2px 0px 0px;
	padding: 0px 0px 0px 0px;
}


/* Over */
.NWFormSelect .NWFormSelectList .NWFormSelectOption.NWFormSelectOptionOver {
	background: #44C5F2;
	border: 1px solid #44C5F2;
}

/* Down */
.NWFormSelect .NWFormSelectList .NWFormSelectOption.NWFormSelectOptionDown {
	background: #ebebeb;
	float: left;
	line-height: 11px;
	margin: 0px 2px 0px 0px;
	padding: 0px 0px 0px 0px;
}

/* Pressed */
.NWFormSelect .NWFormSelectList .NWFormSelectOption.NWFormSelectOptionPressed {
	background: #ebebeb;
	float: left;
	line-height: 11px;
	margin: 0px 2px 0px 0px;
	padding: 0px 0px 0px 0px;
}

/* disabled */
.NWFormSelect .NWFormSelectList .NWFormSelectOption.NWFormSelectOptionDisabled{
	background: transparent url(button-form.png) no-repeat left -294px;
}
/*.NWFormSelectOptionCloseDisabled .NWFormSelectOptionLabel{
	color: #A7A6AA;
}*/

/** FORM - SELECT end **/






.NWFormDimmer{
}

/*.NWFormDimmerBr{
	padding: 0;
	margin: 0;
	font-size: 8px;
}*/

.NWFormDimmer .NWFormText {
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	border-radius: 4px 0 0 4px;
}

.NWFormDimmer .NWFormButton.NWFormDimmerUp{
	-moz-border-radius-topleft: 0;
	-moz-border-radius-bottomleft: 0;
	border-radius: 0 4px 4px 0;
}

.NWFormDimmer .NWFormButton.NWFormDimmerDown{
	-moz-border-radius: 0;
	border-radius: 0;
}
